﻿using Demo.Microservice.Entities;
using Demo.Microservice.Repositorys;
using Demo.Microservice.Services.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.DependencyInjection;

namespace Demo.Microservice.Services
{

    /// <summary>
    /// 
    /// </summary>
    [Dependency(ServiceLifetime.Singleton)]
    public class UserService : CrudAppService<UserInfo, UserInfoDto, Guid>, IUserService
    {

        public UserService(IUserInfoRepository repository) : base(repository)
        {

        }

        /// <summary>
        /// 创建自定义的方法
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        public Task<UserInfoDto> GetSingleUser(string userId)
        {

            throw new NotImplementedException();
        }

    }
}
